<form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
	<input type="hidden" name="row[id]" value="{$row.id}">
	<div class="form-group">
        <label for="c-company" class="control-label col-xs-12 col-sm-2">{:__('公司名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="row[company]" id="c-company" class="form-control" data-rule="required" value="{$row.company|htmlentities}" />
        </div>
    </div>
	
	<div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('服务内容')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[content]" id="c-content" class="form-control" style="height:100px" data-rule="required">{$row.content|htmlentities}</textarea>
        </div>
    </div>
	
	<div class="form-group">
        <label for="c-timeline" class="control-label col-xs-12 col-sm-2">{:__('服务时间')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-timeline" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[timeline]" type="text" value="{$row.timeline|datetime}">
        </div>
    </div>
	
	<div class="form-group">
        <label for="c-leader" class="control-label col-xs-12 col-sm-2">{:__('负责人')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="row[leader]" id="c-leader" class="form-control" data-rule="required" value="{$row.leader|htmlentities}" />
        </div>
    </div>

    <div class="form-group hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('保存')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('取消')}</button>
        </div>
    </div>
</form>
